/*
 * Created by Asnull.
 * Website:https://lipux.cn/
 * Date:2023-1-28
 */

// 配置文件

module.exports = {
    // 允许上传的MINE文件类型
    allowMimetype:[
        'image/jpeg','image/jpg','image/png','audio/mpeg',
        'video/mp4','application/vnd.android.package-archive','image/gif',
        'text/plain','application/zip'
    ],

    // 允许上传的文件最大大小 单位mb
    allFileSize:200,

    // 阿里云对象存储
    aliyunOSS:{
        region: 'oss-cn-shanghai',
        accessKeyId: 'LTAI5tRS6dmnRBeHMVWvq0ej',
        accessKeySecret: 'CsW02Q5Y3WIscCgFhUuHEC2cDIAWYW',
        bucket:'yunyipan'
    },

    // mysql数据库
    mysql:{
        host:'45.145.230.31',
        port:3306,
        user:'cloudFile',
        password:'NSyxtKMrf6Te2J3W',
        database:'cloudfile'
    }
}

